; water bump pixel shader used by A3DTerrainWater. 

; t0, t1, t2 are all wave textures only different scale and offset

ps.1.1

def c0, 0.3, 0.3, 0.3, 0.3

tex t0
tex t1
tex t2

mov r1.rgb, t2
+mul r1.a, t2, c0.a 
lrp r1, t1.a, t1, r1
lrp r1, t0.a, t0, r1

mul r0, v0, r1
